<span class="thumbnail"><%= link_to_image(image.thumburl, { :action => 'show', :id => image[:id] }, { :border => 0, :alt => image.title1 } ) %></span>